package com.farmer.machinery;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.farmer"})
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.farmer.machinery.mapper")
public class MachineryApplication {
    public static void main(String[] args) {
        SpringApplication.run(MachineryApplication.class, args);
        System.out.println("==== 农机设备管理服务启动成功 ====");
    }
}